SetViewType
TheSetViewType
method assigns the specified view type to this frame.
void SetViewType (in ODTypeToken viewType);
viewType
- A tokenized string representing the view type to assign to this frame.
DISCUSSION
TheviewType
parameter must be the tokenized form of one of the view-type constants (kODViewAsFrame
,kODViewAsSmallIcon
,kODViewAsLargeIcon
, orkODViewAsThumbnail
). You can call the session object'sTokenize
method to obtain a token corresponding to one of these constants.Your part calls its display frame's
SetViewType
method.EXCEPTIONS
kODErrIllegalNullTokenInput
- The
viewType
parameter is null.SEE ALSO
TheODTypeToken
type (page 877).
TheODFrame::ChangeViewType
method (page 313).
TheODFrame::GetViewType
method (page 324).
TheODSession::Tokenize
method (page 622).
Listing 2-9 on page 54 in OpenDoc Cookbook.
"View Type" on page 155 in OpenDoc Programmer's Guide.
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help